<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    const url = window.URL || window.webkitURL

    let arr = [1, 'hello']
    let obj = {
      name: 'tom',
      age: 18
    }
    let str = 'hello world'
    let arrTemp = url.createObjectURL(new Blob(arr))
    // let objTemp = url.createObjectURL(new Blob(obj))
    // let strTemp = url.createObjectURL(new Blob(str))
    // console.log('arrTemp:', arrTemp)
    // console.log('objTemp:', objTemp)
    // console.log('strTemp:', strTemp)


  </script>

</body>

</html>